﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>《剑网3》—官方网站—开启3D武侠轻功时代</title>
    <meta name="keywords"
          content="新剑网3,剑侠情缘3,剑网3,剑侠3,剑3,攻略,纯武侠网游,经脉加点,资料库,新手指南,天策,万花,七秀,纯阳,少林,藏剑,五毒,游戏心得,下载,客户端,更新包,官网,剑网3官网,金山,">
    <meta name="Description"
          content="《剑网3》作为中国国民级武侠MMORPG，开创轻功武侠玩法，揭开乱世大唐历史篇章，凭借优异的美术设计和友好的社交氛围受到了众多玩家的赞誉，为千万武侠迷营造出一个如梦似幻的江湖世界。"/>
    <link href="//zhcdn01.xoyo.com/xassets/com/pf/reset/reset.css" rel="stylesheet"/>
    <link href="//zhcdn01.xoyo.com/assets/lib/dialog/artDialog/skins/001/ui.css" class="external" rel="stylesheet">
    <link href="assets/css/index.css" rel="stylesheet"/>
</head>
<body>

<button class="J_tongjiBtn">埋点按钮</button>
<button class="J_loginBtn">点击登录</button>

<!--社会化分享 start -->
<div class="share-rig">

    <div class="bdsharebuttonbox" data-tag="share_1">
        <a class="bds_tsina" data-cmd="tsina"></a>
        <a class="bds_sqq" data-cmd="sqq" href="#"></a>
        <a class="bds_weixin" data-cmd="weixin" href="#"></a>
        <a class="bds_qzone" data-cmd="qzone" href="#"></a>

    </div>
    <script>
        window._bd_share_config = {
            common: {
                //此处放置通用设置
                bdText: '《剑网3》重制版是由金山软件西山居开发运营的全新旗舰级3D MMORPG。游戏采用自主研发的DX11的次世代引擎，通过PBR物理渲染技术来展现独树一帜的写意国风。浓郁的风格化服饰与作画细节，彰显了《剑网3》特有的文化底蕴，呈现给玩家壮丽华美的大唐世界。',
                bdDesc: '《剑网3》作为中国国民级武侠MMORPG，开创轻功武侠玩法，揭开乱世大唐历史篇章，凭借优异的美术设计和友好的社交氛围受到了众多玩家的赞誉，为千万武侠迷营造出一个如梦似幻的江湖世界。',
                bdUrl: 'http://jx3.xoyo.com',
                bdPic: 'http://jx3.xoyo.com/assets/website/2017/09/25/czbpc/share-pc.jpg'
            },
            share: [{
                //此处放置分享按钮设置
                bdSize: '24'
            }],
            slide: [
                //此处放置浮窗分享设置
            ],
            image: [
                //此处放置图片分享设置
            ],
            selectShare: [
                //此处放置划词分享设置
            ]
        }

        //以下为js加载部分
        with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = '//zhcdn01.xoyo.com/xassets/com/pf/baiduShare/static/api/js/share.js'];
    </script>
    <!-- JiaThis Button END -->
</div>
<!--社会化分享 end -->

<script src="//zhcdn01.xoyo.com/xassets/lib/jquery/1.7.2/jquery.js"></script>
<script src="//zhcdn01.xoyo.com/xassets/lib/dialog/artDialog/4.1.7/artDialog.js"></script>
<script src="//zhcdn01.xoyo.com/xassets/com/pf/xpass/v1/xpass.js"></script>
<!--xpass.test.js是用于测试接口-->
<!--<script src="//zhcdn01.xoyo.com/xassets/com/pf/xpass/v1/xpass.test.js"></script>-->
<script src="//zhcdn01.xoyo.com/xassets/com/pf/footer/v3/black/footer.js"></script>
<script class="trackerBefore">
    window.$$exports = window.exports;
    window.exports = {};
</script>
<script class="tracker" src="//zhcdn01.xoyo.com/xassets/lib/st-report-sdk/0.2.3/st-report-sdk.min.js"></script>
<script class="trackerAfter">
    window.StReportSdk023 = window.exports.StReportSdk;
    window.exports = window.$$exports;
</script>
<script>
    /**
     *
     * @param eventName  事件名称，对应统计文档ev_n
     * @param eventDescription 事件描述，对应统计文档ev_desc
     * @param ret_code 错误提示码,常用于后端接口返回的错误状态码，如 -20001
     * @param ret_msg 错误提示文案，常用于后端接口返回错误描述，如： XX失败
     */

    /**
     * 调用方法，比如： window.stReportGlobal('load_page','页面加载');
     */
    const StReportSdk023Report = StReportSdk023.getInstance('jx3_test_maidian'); //埋点的组名
    window.stReportGlobal023MultiProps = function ({eventName, eventDescription, status, ev_status_reason, title, passport}) {
        // * @param projectIdentifier [string] - 项目标识（[A-Za-z_]+{4, },内部约定），必选
        // * @param eventName [string] - 事件名称，（格式与时间分组一致），可选
        // * @param eventGroup [string] - 事件分组（[A-Za-z_\-]+{1,},内部约定），可选 ，对应统计文档： ev_g
        // * @param eventDescription [string]- 事件描述（字符串）
        // * @param eventDataValue [object] - 事件额外数据对象，kv对，可选, 如: evd[k1]=v1&evd[k2]
        // * @param eventTags [string[]] - 事件标签数组（格式与时间分组一致），可选 ，对应统计文档：ev_tag
        try {
            StReportSdk023Report.report({
                eventName: eventName,
                projectIdentifier: 'jx3',
                eventDescription: eventDescription,
                eventTags: ['pc', 'match'], //埋点标签
                eventGroup: 'jx3_test_maidian',  //埋点的组名
                eventDataValue: {
                    title: title ? title : undefined,
                    status: status ? status : undefined,
                    ev_status_reason: ev_status_reason ? ev_status_reason : undefined,
                    passport: passport ? passport : undefined,
                    td_pl: StReportSdk023.getDiffRouteTime(),
                }
            });
        } catch (e) {
            setTimeout(() => {
                throw e;
            });
        }
    }
    var dateNews2 = new Date().getTime();
    var timejian = dateNews2 - window.inPageDate;
    window.stReportGlobal023MultiProps({eventName: 'load_page_start', eventDescription: '页面加载'});
</script>
<script>
    var isMaster = true; //环境切换 正式是true, 测试环境是false
    var ajaxUrl = isMaster ? '//ws.xoyo.com/' : '//test-ws.xoyo.com/'
    $(function () {

        //埋点DEMO start
        $('.J_tongjiBtn').on('click', function () {
            alert('11')
            window.stReportGlobal023MultiProps({eventName: 'test', eventDescription: '测试'});
        });

        $('.J_loginBtn').on('click', function () {
            window.XPASS.signin()
        });
    });
</script>


</body>
</html>
